Closed
Bug 1024196
Opened 11 years ago
Closed 11 years ago
CreateGrGLInterfaceFromGLContext leaks |i| when extensions.init fails
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla33
People
(Reporter: mccr8, Assigned: wlitwinczyk, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: coverity, memory-leak, Whiteboard: [MemShrink:P3][CID 1195354])
Attachments
(1 file, 1 obsolete file)
1022 bytes,
patch
|
gw280
:
review+
|
Details | Diff | Splinter Review |
GrGLInterface* i = new GrGLInterface();
...
if (!extensions.init(i->fStandard, glGetString_mozilla, NULL, glGetIntegerv_mozilla)) {
// leak of i
return nullptr;
}
Reporter | ||
Updated•11 years ago
|
Whiteboard: [MemShrink] → [MemShrink][CID 1195354]
![]() |
||
Updated•11 years ago
|
Whiteboard: [MemShrink][CID 1195354] → [MemShrink:P3][CID 1195354]
Reporter | ||
Updated•11 years ago
|
Mentor: continuation
Reporter | ||
Comment 1•11 years ago
|
||
Updated•11 years ago
|
Assignee: nobody → wlitwinczyk
Assignee | ||
Comment 2•11 years ago
|
||
Hi Andrew,
Would you mind checking if this patch fixes the leak?
Flags: needinfo?(continuation)
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(continuation)
Reporter | ||
Comment 3•11 years ago
|
||
Looks reasonable to me, though I have no way of checking until this lands. :)
Assignee | ||
Updated•11 years ago
|
Attachment #8453194 -
Flags: review?(gwright)
Assignee | ||
Updated•11 years ago
|
Attachment #8453194 -
Flags: review?(gwright)
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #8453194 -
Attachment is obsolete: true
Attachment #8453315 -
Flags: review?(gwright)
Updated•11 years ago
|
Attachment #8453315 -
Flags: review?(gwright) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Keywords: checkin-needed
Comment 6•11 years ago
|
||
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
Updated•7 years ago
|
Blocks: coverity-analysis
You need to log in
before you can comment on or make changes to this bug.
Description
•